﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Framework.Configurations
{
    public interface IHtmlDocument
    {
        IHtmlNodeCollection Node { get;}

        IHtmlNodesCollection Nodes { get;}

        /// <summary>
        /// 转化为table布局，两个table之间的html tag会丢失
        /// </summary>
        IHtmlTableCollection Tables { get;}

        /// <summary>
        /// 转化为div布局，两个div之间的html tag会丢失
        /// </summary>
        IHtmlDivCollection Divs { get;}

        string Serialize();

        string Serialize(bool indent);

        string SerializeToLayout();        
    }
}
